package example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 李俊
 * @Description
 * @Date 2021/7/14 17:16
 */
@FeignClient(name = "sentinel-provider",fallback = NacosClientFallback.class )
public interface NacosClient {

    @GetMapping(value = "/echo/{string}")
    String echo(@PathVariable String string);
}
